From 1944e0368db9cadd7133ac5ce57f3428a15c86fd Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 20 May 2013 14:06:32 -0400 Subject: [PATCH] modules/input: Only build quartz module if we're targeting quartz Otherwise the build is broken on GNU/Linux and Win32. --- modules/input/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am index 902bad318e..3ad28d1172 100644 --- a/modules/input/Makefile.am +++ b/modules/input/Makefile.am @@ -159,8 +159,10 @@ im_quartz_la_LIBADD = $(LDADDS) if INCLUDE_IM_QUARTZ STATIC_QUARTZ_MODULE = libstatic-im-quartz.la else +if USE_QUARTZ QUARTZ_MODULE = im-quartz.la endif +endif multipress_defs = -DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" -DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-2.0"\" im_multipress_la_CPPFLAGS = $(AM_CPPFLAGS) $(multipress_defs) -- 2.30.2